/*
** my_isneg.c for my_isneg in /home/gueux_g/piscine/Jour_03
**
** Made by gregory gueux
** Login   <gueux_g@pc-gueux_g>
**
** Started on  Wed Oct  3 09:34:31 2012 gregory gueux
** Last update Thu Oct 11 20:36:57 2012 gregory gueux
*/

int		my_isneg(int n)
{
  if (n >= 0)
    write(1, "P", 1);
  else if (n < 0)
    write(1, "N", 1);
   return (0);
}
